package com.leihao.marketing.service;

import com.github.pagehelper.PageInfo;
import com.leihao.marketing.domain.ListRequest;
import com.leihao.marketing.domain.Subject;

import java.util.List;

public interface SubjectService {
    void add(Subject subject);
    void delete(Integer subjectId);
    PageInfo<Subject> findList(ListRequest listRequest);
    Subject findById(Integer subjectId);
    void update(Subject subject);

    List<Subject> findAll();

}
